<?php

declare (strict_types = 1);

namespace auth\facade;

use think\Facade;

/**
 * 认证门面
 *
 * @method static \auth\contract\Guard guard(string $name)
 * @method static bool attempt(array $credentials = [])
 * @method static bool logout()
 * @method static bool destroyAllTokens()
 * @method static \auth\contract\Authenticatable|null user()
 *
 * @see \auth\AuthManager
 * @see \auth\contract\Guard
 */
class Auth extends Facade
{
    /**
     * 获取当前 Facade 对应类名（或者已经绑定的容器对象标识）
     *
     * @access protected
     * @return string
     */
    protected static function getFacadeClass(): string
    {
        return 'auth';
    }
}
